package org.gy.T7;

import org.gy.T7.fu.Fu;
import org.gy.T7.zi.Zi;

public class Demo2 {
    public static void main(String[] args) {
        Fu f = new Fu();
    //f.privateMethod(); // 报错
    // f.method(); //报错
    // f.protecedMethod();//报错
        f.publicMethod(); //正确
        Zi zi = new Zi();
    // zi.protectedMethod();
    }
}
